package com.freak.neteasecloudmusic.modules.login.entty;

import java.util.List;

/**
 * Created by Administrator on 2019/3/16.
 */

public class LoginEntity {


    /**
     * loginType : 1.0
     * code : 200.0
     * account : {"id":3.38369006E8,"userName":"1_13790994100","type":1,"status":0,"whitelistAuthority":0,"createTime":1.474982773991E12,"salt":"[B@7aac71f1","tokenVersion":0,"ban":0,"baoyueVersion":-2,"donateVersion":0,"vipType":0,"viptypeVersion":1.583942546258E12,"anonimousUser":false}
     * token : 18a540f924cae527e789df3e5ca8c83c122dbb1a74eefe88c2d4ee4944c7fb97fdf2616703a57914c149c238682ff4ba7955a739ab43dce1
     * profile : {"description":"","djStatus":0,"userId":3.38369006E8,"vipType":0,"gender":1,"accountStatus":0,"birthday":-2.2090176E12,"avatarImgId":3.393092915172765E15,"nickname":"freak-大爷","city":440100,"backgroundImgId":2.002210674180198E15,"userType":0,"province":440000,"defaultAvatar":false,"avatarUrl":"https://p4.music.126.net/QRq7aJqR2nn3_vNcUviMdA==/3393092915172765.jpg","experts":{},"mutual":false,"authStatus":0,"detailDescription":"","followed":false,"backgroundUrl":"https://p3.music.126.net/i0qi6mibX8gq2SaLF1bYbA==/2002210674180198.jpg","avatarImgIdStr":"3393092915172765","backgroundImgIdStr":"2002210674180198","signature":"","authority":0,"followeds":0,"follows":4,"eventCount":0,"playlistCount":9,"playlistBeSubscribedCount":0}
     * bindings : [{"expiresIn":2.147483647E9,"userId":3.38369006E8,"bindingTime":1.584243112569E12,"tokenJsonStr":"{\"countrycode\":\"\",\"cellphone\":\"13790994100\",\"hasPassword\":true}","expired":false,"refreshTime":1.584243112E9,"url":"","id":1.0594094192E10,"type":1},{"expiresIn":7776000,"userId":3.38369006E8,"bindingTime":1.474982774136E12,"tokenJsonStr":"{\"access_token\":\"6D1CA57F6E1D308F5E13D66D2BCD6AD8\",\"openid\":\"BFADC0B93A32586DED411550115AFFDA\",\"query_authority_cost\":-2161393710,\"nickname\":\"美女喜欢爷\",\"partnerType\":\"0\",\"expires_in\":7776000,\"login_cost\":89,\"authority_cost\":3440}","expired":false,"refreshTime":1.583632324E9,"url":"","id":2.903188685E9,"type":5}]
     */

    private String loginType;
    private int code;
    private AccountBean account;
    private String token;
    private ProfileBean profile;
    private List<BindingsBean> bindings;

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public AccountBean getAccount() {
        return account;
    }

    public void setAccount(AccountBean account) {
        this.account = account;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public ProfileBean getProfile() {
        return profile;
    }

    public void setProfile(ProfileBean profile) {
        this.profile = profile;
    }

    public List<BindingsBean> getBindings() {
        return bindings;
    }

    public void setBindings(List<BindingsBean> bindings) {
        this.bindings = bindings;
    }

    public static class AccountBean {
        /**
         * id : 3.38369006E8
         * userName : 1_13790994100
         * type : 1.0
         * status : 0.0
         * whitelistAuthority : 0.0
         * createTime : 1.474982773991E12
         * salt : [B@7aac71f1
         * tokenVersion : 0.0
         * ban : 0.0
         * baoyueVersion : -2.0
         * donateVersion : 0.0
         * vipType : 0.0
         * viptypeVersion : 1.583942546258E12
         * anonimousUser : false
         */

        private String id;
        private String userName;
        private String type;
        private String status;
        private String whitelistAuthority;
        private String createTime;
        private String salt;
        private String tokenVersion;
        private String ban;
        private String baoyueVersion;
        private String donateVersion;
        private String vipType;
        private String viptypeVersion;
        private boolean anonimousUser;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getWhitelistAuthority() {
            return whitelistAuthority;
        }

        public void setWhitelistAuthority(String whitelistAuthority) {
            this.whitelistAuthority = whitelistAuthority;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getSalt() {
            return salt;
        }

        public void setSalt(String salt) {
            this.salt = salt;
        }

        public String getTokenVersion() {
            return tokenVersion;
        }

        public void setTokenVersion(String tokenVersion) {
            this.tokenVersion = tokenVersion;
        }

        public String getBan() {
            return ban;
        }

        public void setBan(String ban) {
            this.ban = ban;
        }

        public String getBaoyueVersion() {
            return baoyueVersion;
        }

        public void setBaoyueVersion(String baoyueVersion) {
            this.baoyueVersion = baoyueVersion;
        }

        public String getDonateVersion() {
            return donateVersion;
        }

        public void setDonateVersion(String donateVersion) {
            this.donateVersion = donateVersion;
        }

        public String getVipType() {
            return vipType;
        }

        public void setVipType(String vipType) {
            this.vipType = vipType;
        }

        public String getViptypeVersion() {
            return viptypeVersion;
        }

        public void setViptypeVersion(String viptypeVersion) {
            this.viptypeVersion = viptypeVersion;
        }

        public boolean isAnonimousUser() {
            return anonimousUser;
        }

        public void setAnonimousUser(boolean anonimousUser) {
            this.anonimousUser = anonimousUser;
        }
    }

    public static class ProfileBean {
        /**
         * description :
         * djStatus : 0.0
         * userId : 3.38369006E8
         * vipType : 0.0
         * gender : 1.0
         * accountStatus : 0.0
         * birthday : -2.2090176E12
         * avatarImgId : 3.393092915172765E15
         * nickname : freak-大爷
         * city : 440100.0
         * backgroundImgId : 2.002210674180198E15
         * userType : 0.0
         * province : 440000.0
         * defaultAvatar : false
         * avatarUrl : https://p4.music.126.net/QRq7aJqR2nn3_vNcUviMdA==/3393092915172765.jpg
         * experts : {}
         * mutual : false
         * authStatus : 0.0
         * detailDescription :
         * followed : false
         * backgroundUrl : https://p3.music.126.net/i0qi6mibX8gq2SaLF1bYbA==/2002210674180198.jpg
         * avatarImgIdStr : 3393092915172765
         * backgroundImgIdStr : 2002210674180198
         * signature :
         * authority : 0.0
         * followeds : 0.0
         * follows : 4.0
         * eventCount : 0.0
         * playlistCount : 9.0
         * playlistBeSubscribedCount : 0.0
         */

        private String description;
        private String djStatus;
        private String userId;
        private String vipType;
        private String gender;
        private String accountStatus;
        private String birthday;
        private String avatarImgId;
        private String nickname;
        private String city;
        private String backgroundImgId;
        private String userType;
        private String province;
        private boolean defaultAvatar;
        private String avatarUrl;
        private ExpertsBean experts;
        private boolean mutual;
        private String authStatus;
        private String detailDescription;
        private boolean followed;
        private String backgroundUrl;
        private String avatarImgIdStr;
        private String backgroundImgIdStr;
        private String signature;
        private String authority;
        private String followeds;
        private String follows;
        private String eventCount;
        private String playlistCount;
        private String playlistBeSubscribedCount;

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getDjStatus() {
            return djStatus;
        }

        public void setDjStatus(String djStatus) {
            this.djStatus = djStatus;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getVipType() {
            return vipType;
        }

        public void setVipType(String vipType) {
            this.vipType = vipType;
        }

        public String getGender() {
            return gender;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }

        public String getAccountStatus() {
            return accountStatus;
        }

        public void setAccountStatus(String accountStatus) {
            this.accountStatus = accountStatus;
        }

        public String getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public String getAvatarImgId() {
            return avatarImgId;
        }

        public void setAvatarImgId(String avatarImgId) {
            this.avatarImgId = avatarImgId;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getBackgroundImgId() {
            return backgroundImgId;
        }

        public void setBackgroundImgId(String backgroundImgId) {
            this.backgroundImgId = backgroundImgId;
        }

        public String getUserType() {
            return userType;
        }

        public void setUserType(String userType) {
            this.userType = userType;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public boolean isDefaultAvatar() {
            return defaultAvatar;
        }

        public void setDefaultAvatar(boolean defaultAvatar) {
            this.defaultAvatar = defaultAvatar;
        }

        public String getAvatarUrl() {
            return avatarUrl;
        }

        public void setAvatarUrl(String avatarUrl) {
            this.avatarUrl = avatarUrl;
        }

        public ExpertsBean getExperts() {
            return experts;
        }

        public void setExperts(ExpertsBean experts) {
            this.experts = experts;
        }

        public boolean isMutual() {
            return mutual;
        }

        public void setMutual(boolean mutual) {
            this.mutual = mutual;
        }

        public String getAuthStatus() {
            return authStatus;
        }

        public void setAuthStatus(String authStatus) {
            this.authStatus = authStatus;
        }

        public String getDetailDescription() {
            return detailDescription;
        }

        public void setDetailDescription(String detailDescription) {
            this.detailDescription = detailDescription;
        }

        public boolean isFollowed() {
            return followed;
        }

        public void setFollowed(boolean followed) {
            this.followed = followed;
        }

        public String getBackgroundUrl() {
            return backgroundUrl;
        }

        public void setBackgroundUrl(String backgroundUrl) {
            this.backgroundUrl = backgroundUrl;
        }

        public String getAvatarImgIdStr() {
            return avatarImgIdStr;
        }

        public void setAvatarImgIdStr(String avatarImgIdStr) {
            this.avatarImgIdStr = avatarImgIdStr;
        }

        public String getBackgroundImgIdStr() {
            return backgroundImgIdStr;
        }

        public void setBackgroundImgIdStr(String backgroundImgIdStr) {
            this.backgroundImgIdStr = backgroundImgIdStr;
        }

        public String getSignature() {
            return signature;
        }

        public void setSignature(String signature) {
            this.signature = signature;
        }

        public String getAuthority() {
            return authority;
        }

        public void setAuthority(String authority) {
            this.authority = authority;
        }

        public String getFolloweds() {
            return followeds;
        }

        public void setFolloweds(String followeds) {
            this.followeds = followeds;
        }

        public String getFollows() {
            return follows;
        }

        public void setFollows(String follows) {
            this.follows = follows;
        }

        public String getEventCount() {
            return eventCount;
        }

        public void setEventCount(String eventCount) {
            this.eventCount = eventCount;
        }

        public String getPlaylistCount() {
            return playlistCount;
        }

        public void setPlaylistCount(String playlistCount) {
            this.playlistCount = playlistCount;
        }

        public String getPlaylistBeSubscribedCount() {
            return playlistBeSubscribedCount;
        }

        public void setPlaylistBeSubscribedCount(String playlistBeSubscribedCount) {
            this.playlistBeSubscribedCount = playlistBeSubscribedCount;
        }

        public static class ExpertsBean {
        }
    }

    public static class BindingsBean {
        /**
         * expiresIn : 2.147483647E9
         * userId : 3.38369006E8
         * bindingTime : 1.584243112569E12
         * tokenJsonStr : {"countrycode":"","cellphone":"13790994100","hasPassword":true}
         * expired : false
         * refreshTime : 1.584243112E9
         * url :
         * id : 1.0594094192E10
         * type : 1.0
         */

        private String expiresIn;
        private String userId;
        private String bindingTime;
        private String tokenJsonStr;
        private boolean expired;
        private String refreshTime;
        private String url;
        private String id;
        private String type;

        public String getExpiresIn() {
            return expiresIn;
        }

        public void setExpiresIn(String expiresIn) {
            this.expiresIn = expiresIn;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getBindingTime() {
            return bindingTime;
        }

        public void setBindingTime(String bindingTime) {
            this.bindingTime = bindingTime;
        }

        public String getTokenJsonStr() {
            return tokenJsonStr;
        }

        public void setTokenJsonStr(String tokenJsonStr) {
            this.tokenJsonStr = tokenJsonStr;
        }

        public boolean isExpired() {
            return expired;
        }

        public void setExpired(boolean expired) {
            this.expired = expired;
        }

        public String getRefreshTime() {
            return refreshTime;
        }

        public void setRefreshTime(String refreshTime) {
            this.refreshTime = refreshTime;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
